home *** CD-ROM | disk | FTP | other *** search
- Path: INbe.net!usenet
- From: bert.wynants@innet.be (Bert Wynants)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Color of Menu bar
- Date: 3 Jan 1996 19:45:12 GMT
- Organization: INnet NV (post doesn't reflect views of INnet NV)
- Message-ID: <1314.6575T1364T2234@innet.be>
- References: <4car6m$6p4@ulke.hiMolde.no> <4cbkm8$fij@news.xs4all.nl>
- NNTP-Posting-Host: pool016-13.innet.be
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- In article <4cbkm8$fij@news.xs4all.nl>, yrozijn@xs4all.nl (Yvon Rozijn) writes:
-
- >Espen Berntsen (espen@himolde.no) wrote:
- >: Is there some way of changing the 4 first colors when the user presses the
- >: right mousebutton?? I need to set those colors to a preset choice, so it is
- >: possible to read requesters etc. I have a normal HandleWindowEvents() but
- >: the problem is that it doesn't react (and thus change the colors) until
- >: after you have chosen a menu item. I need it to change WHEN the user
- >: presses the key
- >:
- >: (get PuzzlerII.lha from aminet and you will see the problem better)
-
- >Try IDCMP_MENUVERIFY, and change the palette if you got that message.
- >I haven't tried it myself, so I cannot guarantee that it solves your
- >problem.
-
- This is exactly what I do in TIFFView. However there are som gotchas
- to it like deadlocks. Therefor I've put the message receiving in a second
- task so IDCMP_MENUVERIFY can always be replyed immediate.
-
- Bert
- --
- ___ _
- ( _`\ ( )_ Fido
- | (_) ) __ _ __ | ,_) 2:292/603.76
- | _ <' /'__`\( '__)| | e-mail
- | (_) )( ___/| | | |_ bert.wynants@innet.be
- (____/'`\____)(_) `\__) Wynants, Belgium, Europe.
-
- The cost of feathers has risen...now even DOWN is up!
-
-